﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerManager.aspx.cs" Inherits="ZX.WebApp.Crm.Customer.CustomerManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.json-2.2.js" type="text/javascript"></script>
    <script src="../../Scripts/Jquery.form.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.calendar.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/element/element-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/datasource/datasource-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/json/json-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/connection/connection-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/get/get-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/dragdrop/dragdrop-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/datatable/datatable-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/paginator/paginator-min.js"></script>
    <script type="text/javascript" src="../../scripts/yui_2.9.0/build/layout/layout-min.js"></script>
    <script type="text/javascript" src="../../scripts/yui_2.9.0/build/button/button-min.js"></script>
    <script type="text/javascript" src="../../scripts/yui_2.9.0/build/container/container-min.js"></script>
    <script type="text/javascript" src="../../scripts/yui_2.9.0/build/resize/resize-min.js"></script>
    <script type="text/javascript" src="../../scripts/yui_2.9.0/build/event-delegate/event-delegate-min.js"></script>

    <style type="text/css">
        body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}
        /*选项卡2*/
        #Tab2{
        width:100%;
        height:100%;
        }
        .Menubox {
        width:100%;
        background:url(../../Images/png/tab_01.gif);
        height:28px;
        line-height:28px;
        }
        .Menubox ul{
        margin:0px;
        padding:0px;
        }
        .Menubox li{
        float:left;
        display:block;
        cursor:pointer;
        width:100px;
        text-align:center;
        color:#949694;
        font-weight:bold;
        }
        .Menubox li.hover{
        padding:0px;
        background:#fff;
        width:100px;
        border:1px solid #A8C29F;
        border-bottom:none;
        background:url(../../Images/png/tab_01.gif);
        color:#739242;
        font-weight:bold;
        height:27px;
        line-height:27px;
        }
        .Contentbox
        {
        clear:both;
        margin-top:0px;
        border:1px solid #A8C29F;
        border-top:none;
        height:500px;
        text-align:left;
        }
    </style>
    <script type="text/javascript">
        function setTab(name, cursel, n) {
            for (i = 1; i <= n; i++) {
                var menu = document.getElementById(name + i);
                var con = document.getElementById("con_" + name + "_" + i);
                menu.className = i == cursel ? "hover" : "";
                con.style.display = i == cursel ? "block" : "none";
            }
        }
        $(function () {
            setTab('two', 1, 2);
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="Tab2">
            <div class="Menubox">
                <ul>
                    <li id="two1" onclick="setTab('two',1,2)">客户信息</li>
                    <li id="two2" onclick="setTab('two',2,2)">意向客户</li>
                </ul>
            </div>
            <div class="Contentbox">
                <div id="con_two_1">
                     <iframe style="width:100%; height:100%;" src="../../Extend/YUIList.aspx?entity=V_CrmCustomer&functionID=<%=functionId %>"></iframe>     
                </div>
                <div id="con_two_2" style="display: none">
                    
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
